package com.sun.service.impl;

import com.sun.po.*;
import com.sun.pojo.CmsSubject;
import com.sun.mapper.CmsSubjectMapper;
import com.sun.service.ICmsSubjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 专题表 服务实现类
 * </p>
 *
 * @author 妙妙屋
 * @since 2022-01-04
 */
@Service
public class CmsSubjectServiceImpl extends ServiceImpl<CmsSubjectMapper, CmsSubject> implements ICmsSubjectService {

    @Autowired
    private CmsSubjectMapper cmsSubjectMapper;

    @Override
    public void saveRelation(SubjectProductRelation o) {
        cmsSubjectMapper.saveRelation(o);
    }
}
